package com.simtop.car.service;

import com.simtop.car.common.ServerResponse;
import com.simtop.car.pojo.*;

public interface AdminService {
    ServerResponse<String> addBrandType(Integer typeId, String brandName,String companyName);

    ServerResponse<String> deleteBrandType(Integer brandTypeId);

    ServerResponse<String> updateBrandType(BrandType brandType);

    void deleteUser();

    ServerResponse updateVideo(Video video);

    ServerResponse getIndexVideo();

    ServerResponse getTitle(Integer titleId);

    ServerResponse updateTitle(Title title);

    ServerResponse deleteSourceData(Integer sourceId, String dataIds);

    ServerResponse addDiscuss(Grade grade);

    ServerResponse addManual(Manual manual);

    ServerResponse getManuals(Integer pageNum, Integer pageSize);

    ServerResponse getSingleManual(Integer manualId);

    ServerResponse deleteManual(Integer manualId);

    ServerResponse updateManual(Manual manual);
}
